package com.woniu.cinema.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 影片信息对象 tb_movie
 * 
 * @author yy
 * @date 2022-03-30
 */
public class Movie extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer movieId;

    /** 影片名称 */
    @Excel(name = "影片名称")
    private String movieName;

    /** 上映时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上映时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date movieReleaseTime;

    /** 首次上映地区 */
    @Excel(name = "首次上映地区")
    private Integer movieArea;

    /** 影片描述 */
    @Excel(name = "影片描述")
    private String movieInfo;

    /** 电影版本 */
    @Excel(name = "电影版本")
    private String movieVersion;

    /** 影片海报 */
    @Excel(name = "影片海报")
    private String movieImg;

    /** 影片英文名 */
    @Excel(name = "影片英文名")
    private String movieEname;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal movieScore;

    /** 影片状态0-未上线 1-上线 2-下线 */
    @Excel(name = "影片状态0-未上线 1-上线 2-下线")
    private Integer movieStatus;

    /** 观看次数 */
    @Excel(name = "观看次数")
    private Integer movieCount;

    /** 票房金额 */
    @Excel(name = "票房金额")
    private Long movieBoxOffice;

    /** 影片时长（分钟） */
    @Excel(name = "影片时长", readConverterExp = "分=钟")
    private Integer movieTime;

    /** 想要观看人数 */
    @Excel(name = "想要观看人数")
    private Long movieWantCount;

    /** 影片上映年份 */
    @Excel(name = "影片上映年份")
    private Integer movieReleaseYear;

    /** 累计评论人数 */
    @Excel(name = "累计评论人数")
    private Long commentUserCount;

    public void setMovieId(Integer movieId) 
    {
        this.movieId = movieId;
    }

    public Integer getMovieId() 
    {
        return movieId;
    }
    public void setMovieName(String movieName) 
    {
        this.movieName = movieName;
    }

    public String getMovieName() 
    {
        return movieName;
    }
    public void setMovieReleaseTime(Date movieReleaseTime) 
    {
        this.movieReleaseTime = movieReleaseTime;
    }

    public Date getMovieReleaseTime() 
    {
        return movieReleaseTime;
    }
    public void setMovieArea(Integer movieArea) 
    {
        this.movieArea = movieArea;
    }

    public Integer getMovieArea() 
    {
        return movieArea;
    }
    public void setMovieInfo(String movieInfo) 
    {
        this.movieInfo = movieInfo;
    }

    public String getMovieInfo() 
    {
        return movieInfo;
    }
    public void setMovieVersion(String movieVersion) 
    {
        this.movieVersion = movieVersion;
    }

    public String getMovieVersion() 
    {
        return movieVersion;
    }
    public void setMovieImg(String movieImg) 
    {
        this.movieImg = movieImg;
    }

    public String getMovieImg() 
    {
        return movieImg;
    }
    public void setMovieEname(String movieEname) 
    {
        this.movieEname = movieEname;
    }

    public String getMovieEname() 
    {
        return movieEname;
    }
    public void setMovieScore(BigDecimal movieScore) 
    {
        this.movieScore = movieScore;
    }

    public BigDecimal getMovieScore() 
    {
        return movieScore;
    }
    public void setMovieStatus(Integer movieStatus) 
    {
        this.movieStatus = movieStatus;
    }

    public Integer getMovieStatus() 
    {
        return movieStatus;
    }
    public void setMovieCount(Integer movieCount) 
    {
        this.movieCount = movieCount;
    }

    public Integer getMovieCount() 
    {
        return movieCount;
    }
    public void setMovieBoxOffice(Long movieBoxOffice) 
    {
        this.movieBoxOffice = movieBoxOffice;
    }

    public Long getMovieBoxOffice() 
    {
        return movieBoxOffice;
    }
    public void setMovieTime(Integer movieTime) 
    {
        this.movieTime = movieTime;
    }

    public Integer getMovieTime() 
    {
        return movieTime;
    }
    public void setMovieWantCount(Long movieWantCount) 
    {
        this.movieWantCount = movieWantCount;
    }

    public Long getMovieWantCount() 
    {
        return movieWantCount;
    }
    public void setMovieReleaseYear(Integer movieReleaseYear) 
    {
        this.movieReleaseYear = movieReleaseYear;
    }

    public Integer getMovieReleaseYear() 
    {
        return movieReleaseYear;
    }
    public void setCommentUserCount(Long commentUserCount) 
    {
        this.commentUserCount = commentUserCount;
    }

    public Long getCommentUserCount() 
    {
        return commentUserCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("movieId", getMovieId())
            .append("movieName", getMovieName())
            .append("movieReleaseTime", getMovieReleaseTime())
            .append("movieArea", getMovieArea())
            .append("movieInfo", getMovieInfo())
            .append("movieVersion", getMovieVersion())
            .append("movieImg", getMovieImg())
            .append("movieEname", getMovieEname())
            .append("movieScore", getMovieScore())
            .append("movieStatus", getMovieStatus())
            .append("movieCount", getMovieCount())
            .append("movieBoxOffice", getMovieBoxOffice())
            .append("movieTime", getMovieTime())
            .append("movieWantCount", getMovieWantCount())
            .append("movieReleaseYear", getMovieReleaseYear())
            .append("commentUserCount", getCommentUserCount())
            .toString();
    }
}
